package com.swallow.cloud.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: L.swallow
 * @Date: 2019/3/7 13:26
 */
@Controller
public class WebPageController {

    @RequestMapping("{module}/{url}.html")
    public String index(@PathVariable("module") String module, @PathVariable("url") String url){
        return module + "/" + url;
    }
}
